Skip to content

Conversation

@szegedi
Copy link

@szegedi szegedi commented Jun 16, 2025

What does this PR do?:
Add an Isolate* field to WallProfiler, bind it in the constructor, and use it throughout the code.

Motivation:
A WallProfiler belong to exactly one Isolate, we can bind it in the constructor and not have to retrieve Isolate::GetCurrent repeatedly. This simplifies the code – many methods don't need to accept an isolate pointer anymore. It also makes the relationship a bit clearer.

How to test the change?:

@szegedi szegedi requested a review from nsavoire as a code owner June 16, 2025 16:38
@szegedi szegedi added the semver-patch Bug or security fixes, mainly label Jun 16, 2025
@github-actions
Copy link

github-actions bot commented Jun 16, 2025

Overall package size

Self size: 1.58 MB
Deduped: 1.95 MB
No deduping: 1.95 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | source-map | 0.7.4 | 226 kB | 226 kB | | pprof-format | 2.1.0 | 111.69 kB | 111.69 kB | | p-limit | 3.1.0 | 7.75 kB | 13.78 kB | | delay | 5.0.0 | 11.17 kB | 11.17 kB | | node-gyp-build | 3.9.0 | 8.81 kB | 8.81 kB |

🤖 This report was automatically generated by heaviest-objects-in-the-universe

A WallProfiler belong to exactly one isolate, we can bind it in the constructor and not have to retrieve Isolate::GetCurrent subsequently
@szegedi szegedi force-pushed the szegedi/isolated-wall branch from 83d9cd5 to 63101a6 Compare June 16, 2025 16:39
@szegedi szegedi marked this pull request as draft August 27, 2025 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver-patch Bug or security fixes, mainly

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants